# -*- coding: utf-8 -*-
"""
# @Time    : 2021/1/12 下午4:19
# @Author  : tgy
"""

class T:
    ...

class P1(T):
    ...
    stu = 'p11'
    def test01(self):
        ...
        print('P1')


class P2(T):
    ...
    stu = 'p22'
    def test01(self):
        ...
        print('P1')

class P3(T):
    ...

class S1(P1):
    ...
    # stu = 'S1'
    def test01(self):
        ...
        print('S1')


class S2(P2):
    ...
    # stu = 'S2'
    def test01(self):
        print('S2')

class S3(P3):
    ...

class Stu(S1, S2, S3):
    ...


if __name__ == '__main__':
    ...
    stu = Stu()
    print(Stu.mro())
    stu.test01()
    print(stu.stu)